$('#attachments').html('<%= escape_javascript render(partial: 'form') %>');
